﻿@model IEnumerable<WebUI.Models.EnumDefine>
<div class="catalog-title">
    枚举设置</div>
@Ajax.ActionLink("添加枚举设置", "EnumEdit", new { _utid="enums"}, new AjaxOptions() { LoadingElementId="OnLoadingSpan",UpdateTargetId = "dialogbox", OnComplete = "showDialog('枚举');", HttpMethod = "Get", InsertionMode = InsertionMode.Replace, OnFailure = "OnSiteError" })
@*@Ajax.ActionLink("刷新", "EnumList", null, null, new AjaxOptions() { LoadingElementId="OnLoadingSpan",UpdateTargetId = "enums", HttpMethod = "Get", InsertionMode = InsertionMode.Replace })
*@<ul class="stacklist size200x96">
    @foreach (var item in Model)
    {
        <li>
            @Html.Partial("EnumItem", item)
        </li>
    }
</ul>
<script type="text/javascript">
    $(function () {
        $("#enums li").mouseenter(function () { $(".ctlbox", this).fadeIn(); });
        $("#enums li").mouseleave(function () { $(".ctlbox", this).fadeOut(); });
    });
</script>
